package com.atguigu.spzx.product.client.anno;

import com.atguigu.spzx.product.client.fallback.ProductClientFallback;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@EnableFeignClients(basePackages = "com.atguigu.spzx")
@Import(ProductClientFallback.class)
public @interface EnableProductClient {
}
